package com.leostadyn.stackfarm.timestatistics.model.bean;

import com.google.gson.Gson;

public class JobBean {

    private String id;
    private String name;
    private String code;

    public static JobBean objectFromData(String str) {

        return new Gson().fromJson(str, JobBean.class);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
